import request from '@/utils/request'

// 其他管理费分页
export function getList(params) {
  return request({
    url: '/otherManagementFee/list',
    method: 'POST',
    params
  })
}

// 单条查询
export function selectOtherManagementFee(params) {
  return request({
    url: '/otherManagementFee/load',
    method: 'POST',
    params
  })
}

// 添加
export function addOtherManagementFee(data) {
  return request({
    url: '/otherManagementFee/add',
    method: 'POST',
    data
  })
}

// 修改
export function updateOtherManagementFee(data) {
  return request({
    url: '/otherManagementFee/update',
    method: 'POST',
    data
  })
}

// 删除
export function deleteOtherManagementFee(params) {
  return request({
    url: '/otherManagementFee/delete',
    method: 'POST',
    params
  })
}

// 模糊查询团队下拉信息
export function selectTeam(params) {
  return request({
    url: '/administrative/teams/getTeamIdAndNameListByName',
    method: 'post',
    params
  })
}

// 在员工表里查询经办人
export function selectOperator(params) {
  return request({
    url: '/costProject/operator',
    method: 'POST',
    params
  })
}
